• Go to and drag two Set x Speed commands inside the event.
  • Change the name in front of the first command to top_block.
  • Change the name in front of the second command to bot_block.
  • Change the number in both .set_x_speed() commands to -2.

Now the blocks will move to the left at the same speed.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)